package com.bwsoft.admin.domain;

import java.util.Date;

import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.OneToOne;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

@Entity
@Table(name = "rp_account_access")
public class ReportAccountAccess {
	@Id
	@GenericGenerator(name = "idGenerator", strategy = "identity")
	@GeneratedValue(generator = "idGenerator")
	private Integer id;
	@OneToOne(cascade = { CascadeType.ALL }, fetch = FetchType.LAZY)
	@JoinColumn(name = "accountid")
	private Account account;
	@Column(name = "reportName")
	private Integer reportNameRowNumber;
	@Column(name = "reportNumber")
	private Integer reportNumberRowNumber;
	@Column(name = "sampleName")
	private Integer sampleNameRowNumber;
	@Column(name = "scrqph")
	private Integer scrqphRowNumber;
	private String delFlag;
	private String status;
	private Date createTime;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Account getAccount() {
		return account;
	}

	public void setAccount(Account account) {
		this.account = account;
	}

	public Integer getReportNameRowNumber() {
		return reportNameRowNumber;
	}

	public void setReportNameRowNumber(Integer reportNameRowNumber) {
		this.reportNameRowNumber = reportNameRowNumber;
	}

	public Integer getReportNumberRowNumber() {
		return reportNumberRowNumber;
	}

	public void setReportNumberRowNumber(Integer reportNumberRowNumber) {
		this.reportNumberRowNumber = reportNumberRowNumber;
	}

	public Integer getSampleNameRowNumber() {
		return sampleNameRowNumber;
	}

	public void setSampleNameRowNumber(Integer sampleNameRowNumber) {
		this.sampleNameRowNumber = sampleNameRowNumber;
	}

	public Integer getScrqphRowNumber() {
		return scrqphRowNumber;
	}

	public void setScrqphRowNumber(Integer scrqphRowNumber) {
		this.scrqphRowNumber = scrqphRowNumber;
	}

	public String getDelFlag() {
		return delFlag;
	}

	public void setDelFlag(String delFlag) {
		this.delFlag = delFlag;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

}
